Make MOD1-drag also do action ask.
authorOwen Taylor <otaylor@redhat.com>
Fri, 15 Jan 1999 15:58:17 +0000 (15:58 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 15 Jan 1999 15:58:17 +0000 (15:58 +0000)
commit3bba8439685024f9fbfd9d1880da95f4cd9ce09f
treeee016b89559e66b09412940912744a296a3f84ff
parenteb7c4e4589d40766c785d13000ae76d567232a1b
Make MOD1-drag also do action ask.

Thu Jan 14 11:29:53 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_get_event_action): Make
MOD1-drag also do action ask.

* gtk/gtkdnd.c (gtk_drag_button_release_cb): Send the
button-release event we simulate to get grabs released,
with a window of GDK_ROOT_PARENT instead of the actual
widget. This is a bad hack in some sense, but seems
to work nicely. (It's sort of like what you would
if you grabbed on button press, then the user
released outside of the widget.)
gtk/gtkdnd.c